[id].vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <HomePageNavigation1></HomePageNavigation1>
  6. <!-- 商圈详情 -->
  7. <div class="topicInfoBox">
  8. <div class="inner">
  9. <!-- 详情头部 -->
  10. <div class="infoHead phone_none">
  11. <div class="left">
  12. <div class="userInfo left">
  13. <el-badge value="楼主" class="item" type="warning">
  14. <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
  15. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  16. </el-badge>
  17. <span>{{ dataInfo.nickname }}</span>
  18. </div>
  19. <div class="headContent left">
  20. <h2>{{ dataInfo.title }}</h2>
  21. <p v-show="dataInfo.group_name">
  22. 群聊:
  23. <span>{{ dataInfo.group_name }}</span>
  24. <button @click="joinGroup">加入群聊</button>
  25. </p>
  26. </div>
  27. </div>
  28. <div class="right">
  29. <div class="one">
  30. <span v-for="item in typeList" :key="index">
  31. <span v-if="dataInfo.type == item.value" class="one">{{item.label}}</span>
  32. </span>
  33. </div>
  34. <p>{{ dataInfo.updated_at }}</p>
  35. </div>
  36. </div>
  37. <div class="pc_none">
  38. <h2 class="phone_h2">{{ dataInfo.title }}</h2>
  39. <div class="phone_box_1">
  40. <div class="phone_tag_box">
  41. <span v-for="item in typeList" :key="index">
  42. <span v-if="dataInfo.type == item.value" class="phone_tag_box_text">{{item.label}}</span>
  43. </span>
  44. </div>
  45. <span class="phone_time">{{ dataInfo.updated_at }}</span>
  46. </div>
  47. <div class="phone_box_2">
  48. <el-badge class="phone_img_box" type="warning">
  49. <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
  50. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  51. </el-badge>
  52. <span class="phone_name">
  53. {{ dataInfo.nickname }}
  54. </span>
  55. </div>
  56. <div class="phone_box_3" v-show="dataInfo.group_name">
  57. <div class="phone_group_label"> 群聊: </div>
  58. <span class="phone_group_name">
  59. {{ dataInfo.group_name }}
  60. </span>
  61. <button class="phone_group_btn" @click="joinGroup">加入群聊</button>
  62. </div>
  63. </div>
  64. <!-- 详情页 文本+图片 -->
  65. <div class="infoContent" v-show="dataInfo.content">
  66. <div v-html="dataInfo.content"></div>
  67. </div>
  68. <div class="infoContent1" v-show="!dataInfo.content">
  69. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Document_empty.png" alt="">
  70. <span>可以看看大家的互动哦~</span>
  71. </div>
  72. <!-- 详情页评论 -->
  73. <div class="comment">
  74. <h3>评论</h3>
  75. <div class="commentList ul_2_phone_none" v-for="item in replyList" v-show="page_total != 0">
  76. <div class="left">
  77. <img v-if='item.avatar' :src="item.avatar" alt="" >
  78. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  79. <span class="name">{{ item.nickname }} : </span>
  80. </div>
  81. <div class="center">
  82. <span class="context">{{ item.content }}</span>
  83. </div>
  84. <div class="right">
  85. <span class="time">{{ item.created_at }}</span>
  86. <!-- <span>回复</span> -->
  87. </div>
  88. </div>
  89. <div class="ul_2 pc_none">
  90. <div class="li_2" v-for="item in replyList" v-show="page_total != 0">
  91. <div class="li_2_head_box">
  92. <div class="li_2_img_box">
  93. <img v-if='item.avatar' :src="item.avatar" alt="" >
  94. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  95. </div>
  96. <div class="li_2_head">{{ item.nickname }}</div>
  97. </div>
  98. <div class="li_2_text">
  99. {{ item.content }}
  100. </div>
  101. <div class="li_2_time">{{ item.created_at }}</div>
  102. </div>
  103. </div>
  104. <div class="comment_empty" v-show="page_total == 0">
  105. <img src="../../public/topic/message_empty.png" alt="">
  106. <span>暂无评论</span>
  107. </div>
  108. </div>
  109. <!-- 分页 pc-->
  110. <div class="paginationBox phone_none" v-show="page_total != 0">
  111. <el-pagination background layout="prev, pager, next" :total="page_total" prev-text="上一页"
  112. next-text="下一页" :default-page-size="pageSize" @change="changePage" />
  113. </div>
  114. <!-- 分页 phone-->
  115. <div class="paginationBox pc_none" v-show="page_total != 0">
  116. <el-pagination
  117. pager-count="5"
  118. size="small"
  119. background
  120. layout=" pager "
  121. :total="page_total"
  122. :default-page-size="pageSize"
  123. @change="changePage" />
  124. </div>
  125. </div>
  126. </div>
  127. <div class="message">
  128. <div class="inner">
  129. <input v-model="content" placeholder="快来回复吧~" type="text" class="messageInput">
  130. <button class="btn" @click="addReply">确定</button>
  131. </div>
  132. </div>
  133. <!-- 页面底部 -->
  134. <HomeFoot1></HomeFoot1>
  135. </div>
  136. </template>
  137. <script setup>
  138. //1.引用模块 start ---------------------------------------->
  139. //使用ref和reactive动态变量
  140. import { ref, reactive, onMounted } from 'vue'
  141. import { useRoute } from 'vue-router';
  142. //使用官方ssr请求模块
  143. import { useNuxtApp, useFetch } from '#app'
  144. //使用element-plus组件
  145. import { ElPagination, ElBadge, ElInput, ElMessage, ElMessageBox } from 'element-plus';
  146. // axios请求
  147. const nuxtApp = useNuxtApp();
  148. const axios = nuxtApp.$axios;
  149. const { $webUrl, $CwebUrl, $BwebUrl } = useNuxtApp()
  150. //1.引用模块 end ---------------------------------------->
  151. // 定义响应式数据
  152. const seoData = ref({
  153. title: '商圈',
  154. description: '默认描述',
  155. keywords: '默认关键词',
  156. image: 'https://example.com/default-image.jpg'
  157. });
  158. // 在 onMounted 钩子中获取数据
  159. onMounted(()=>{
  160. seoData.value.title = '商圈';
  161. seoData.value.description = '默认描述';
  162. seoData.value.keywords = '默认关键词';
  163. })
  164. //2.页面数据 start ---------------------------------------->
  165. const dataInfo = ref({})
  166. const groupId = useState("groupId", () => '')
  167. const replyList = useState("replyList", () => []) //评论列表
  168. //分页
  169. const page = ref(1)
  170. const pageSize = ref(5)
  171. let page_total = ref(0)
  172. const content = ref('')
  173. //2.页面数据 end ---------------------------------------->
  174. //3.获取商圈详情 start ---------------------------------------->
  175. const route = useRoute();
  176. const id = route.params.id; // 获取传递的 id 参数
  177. //页码发生改变
  178. const changePage = (val) => {
  179. console.log(val);
  180. page.value = val
  181. getTopicReply()
  182. }
  183. // 商圈信息
  184. const getTopicInfo = () => {
  185. let data = new FormData()
  186. data.append('id', id)
  187. axios.post('chat/getTopicInfo', data).then(res => {
  188. console.log('商圈信息', res);
  189. dataInfo.value = res.data
  190. groupId.value = res.data.group_id
  191. console.log(groupId.value);
  192. })
  193. }
  194. // 回复商圈 列表
  195. const getTopicReply = () => {
  196. let data = new FormData()
  197. data.append('id', id)
  198. data.append('page', page.value)
  199. data.append('page_size', pageSize.value)
  200. axios.post('chat/getTopicReply', data).then(res => {
  201. console.log('回复商圈列表 ', res);
  202. replyList.value = res.data.data
  203. // page_total.value = res.data.total
  204. page_total.value = res.data.total
  205. console.log("replyList", replyList);
  206. })
  207. }
  208. //5.获取分类和状态 start ---------------------------------------->
  209. const listData = useState("listData", () => [])//商圈列表
  210. const typeList = useState("typeList", () => [])//商圈分类
  211. const topicType = () => {
  212. axios.post('/chat/topicType').then(response => {
  213. console.log(111222333)
  214. console.log(response.data);
  215. // console.log(1);
  216. typeList.value = response.data;
  217. })
  218. }
  219. const topicStatus = () => {
  220. axios.post('chat/topicStatus').then(response => {
  221. console.log(response);
  222. })
  223. }
  224. onMounted(() => {
  225. getTopicInfo(); //商圈信息
  226. getTopicReply(); //回复商圈列表
  227. topicType();
  228. topicStatus();
  229. })
  230. //加入群聊
  231. const joinGroup = () => {
  232. ElMessageBox.confirm(
  233. '加入群聊后,页面跳转至后台群聊页面',
  234. '是否加入群聊?',
  235. {
  236. confirmButtonText: '是',
  237. cancelButtonText: '否',
  238. center: true,
  239. }
  240. ).then(() => {
  241. console.log('groupId.value', groupId.value);
  242. let data = new FormData()
  243. data.append('group_id', groupId.value)
  244. axios.post('chat/joinGroup', data).then(res => {
  245. console.log('加入群聊 ', res);
  246. if (res.code == 0 && res.message !== '已加入群') {
  247. ElMessage.error(res.message)
  248. } else if (res.code == 0 && res.message == '已加入群') {
  249. ElMessage({
  250. message: res.message,
  251. type: 'success',
  252. })
  253. setTimeout(() => {
  254. window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
  255. //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
  256. }, 1000)
  257. } else if (res.code == 200) {
  258. ElMessage({
  259. message: '加入成功',
  260. type: 'success',
  261. })
  262. setTimeout(() => {
  263. window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
  264. //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
  265. }, 1000)
  266. }
  267. })
  268. }).catch(() => {
  269. ElMessage({
  270. type: 'error',
  271. message: '已取消',
  272. })
  273. })
  274. }
  275. // 回复商圈
  276. const addReply = () => {
  277. let data = new FormData()
  278. data.append('id', id)
  279. data.append('content', content.value)
  280. axios.post('chat/addReply', data).then(res => {
  281. console.log('回复商圈 ', res);
  282. if (res.code == 0) {
  283. ElMessage.error(res.message)
  284. getTopicReply();
  285. } else if (res.code == 200) {
  286. ElMessage({
  287. message: '回复成功',
  288. type: 'success',
  289. })
  290. content.value = ''
  291. getTopicReply();
  292. }
  293. })
  294. }
  295. //3.获取商圈详情 end ---------------------------------------->
  296. //seo
  297. useSeoMeta({
  298. title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
  299. meta: [
  300. { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
  301. { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
  302. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
  303. ]
  304. });
  305. </script>
  306. <style lang="less" scoped>
  307. .topicInfoBox {
  308. .inner {
  309. width: 1200px;
  310. margin: 0 auto;
  311. //信息头部
  312. .infoHead {
  313. height: 200px;
  314. padding: 65px 0 60px 40px;
  315. border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  316. box-sizing: border-box;
  317. >.left {
  318. .userInfo {
  319. margin-right: 90px;
  320. .item {
  321. margin-top: -5px;
  322. margin-right: -5px;
  323. :deep(.el-badge__content.is-fixed) {
  324. position: absolute;
  325. right: calc(1px + var(--el-badge-size) / 2);
  326. top: 0;
  327. transform: translateY(-31%) translateX(79%);
  328. z-index: var(--el-index-normal);
  329. }
  330. img {
  331. width: 66px;
  332. height: 66px;
  333. vertical-align: middle;
  334. border-radius: 50%;
  335. }
  336. }
  337. span {
  338. margin-left: 15px;
  339. font-family: Microsoft YaHei, Microsoft YaHei;
  340. font-weight: 400;
  341. font-size: 18px;
  342. color: #333333;
  343. }
  344. }
  345. .headContent {
  346. h2 {
  347. width: 750px;
  348. height: 56px;
  349. line-height: 28px;
  350. display: -webkit-box;
  351. -webkit-box-orient: vertical;
  352. -webkit-line-clamp: 2;
  353. overflow: hidden;
  354. text-overflow: ellipsis;
  355. word-break: break-all;
  356. font-family: Microsoft YaHei, Microsoft YaHei;
  357. font-weight: bold;
  358. font-size: 20px;
  359. color: #333333;
  360. margin-bottom: 26px;
  361. }
  362. >p {
  363. font-family: Microsoft YaHei, Microsoft YaHei;
  364. font-weight: 400;
  365. font-size: 16px;
  366. color: #333333;
  367. button {
  368. width: 86px;
  369. height: 32px;
  370. background-color: #028e21;
  371. color: #fff;
  372. border: none;
  373. margin-left: 100px;
  374. }
  375. }
  376. }
  377. }
  378. >.right {
  379. position: relative;
  380. div {
  381. position: absolute;
  382. right: 0;
  383. top: 0;
  384. width: 71px;
  385. height: 32px;
  386. line-height: 32px;
  387. text-align: center;
  388. background-color: #d9f0d6;
  389. margin-bottom: 29px;
  390. font-family: Microsoft YaHei, Microsoft YaHei;
  391. font-weight: 400;
  392. font-size: 16px;
  393. color: #33B023;
  394. }
  395. .one {
  396. color: #FFAA33;
  397. background-color: #fbebd5;
  398. }
  399. .two {
  400. color: #33B023;
  401. background-color: #d5ecd2;
  402. }
  403. .three {
  404. color: #666;
  405. background-color: #ebebeb;
  406. }
  407. p {
  408. width: 150px;
  409. text-align: right;
  410. position: absolute;
  411. top: 62px;
  412. right: 0;
  413. }
  414. }
  415. }
  416. // 有详情信息
  417. .infoContent {
  418. width:1196px;
  419. overflow: hidden;
  420. padding: 40px 46px;
  421. font-family: Microsoft YaHei, Microsoft YaHei;
  422. font-size: 20px;
  423. line-height: 40px;
  424. box-sizing: border-box;
  425. div{
  426. word-wrap: break-word; /* 强制长单词或 URL 换行 */
  427. overflow-wrap: break-word; /* 现代推荐用法,等同于 word-wrap */
  428. white-space: pre-wrap; /* 保留空白字符并允许自动换行 */
  429. word-break: break-all; /* 强制在任意字符处换行 */
  430. }
  431. }
  432. .leftBottom::v-deep p{
  433. width:1200px;
  434. white-space: pre-wrap;
  435. }
  436. //没有详情信息
  437. .comment_empty,
  438. .infoContent1 {
  439. height: 300px;
  440. line-height: 260px;
  441. text-align: center;
  442. img {
  443. width: 78px;
  444. height: 78px;
  445. vertical-align: -25px;
  446. vertical-align: middle;
  447. margin-right: 20px;
  448. }
  449. span {
  450. font-family: Microsoft YaHei, Microsoft YaHei;
  451. font-weight: bold;
  452. font-size: 26px;
  453. color: #CCCCCC;
  454. }
  455. }
  456. //评论
  457. .comment {
  458. h3 {
  459. height: 100px;
  460. padding-top: 30px;
  461. box-sizing: border-box;
  462. border-bottom: 1px solid #E1E1E1;
  463. font-family: Microsoft YaHei, Microsoft YaHei;
  464. font-weight: 400;
  465. font-size: 22px;
  466. color: #000000;
  467. }
  468. .commentList {
  469. // height: 112px;
  470. border: 1px solid #E1E1E1;
  471. background-color: #fafafa;
  472. margin-top: 20px;
  473. padding: 30px 30px;
  474. box-sizing: border-box;
  475. display: flex;
  476. align-items: flex-start;
  477. justify-content: space-between;
  478. .left {
  479. width:400px;
  480. margin-right: 40px;
  481. // overflow: hidden;
  482. display: flex;
  483. justify-content: space-between;
  484. img {
  485. // float: left;
  486. width: 52px;
  487. height: 52px;
  488. border-radius: 50%;
  489. vertical-align: middle;
  490. margin-right: 15px;
  491. }
  492. span{
  493. // float: left;
  494. height: 52px;
  495. line-height: 22px;
  496. padding-top: 10px;
  497. }
  498. .name {
  499. width: 100px;
  500. font-family: Microsoft YaHei, Microsoft YaHei;
  501. font-weight: 400;
  502. font-size: 16px;
  503. color: #333333;
  504. margin-right: 30px;
  505. width: 100px;
  506. white-space: nowrap;
  507. overflow: hidden;
  508. text-overflow: ellipsis;
  509. display: block;
  510. }
  511. }
  512. .center {
  513. .context {
  514. width: 700px;
  515. margin-right: 40px;
  516. display: -webkit-box;
  517. -webkit-box-orient: vertical;
  518. -webkit-line-clamp: 2;
  519. overflow: hidden;
  520. text-overflow: ellipsis;
  521. word-break: break-all;
  522. font-family: Microsoft YaHei, Microsoft YaHei;
  523. font-weight: bold;
  524. font-size: 16px;
  525. color: #333333;
  526. }
  527. }
  528. .right {
  529. .time {
  530. display: block;
  531. width: 200px;
  532. font-family: Microsoft YaHei, Microsoft YaHei;
  533. font-weight: 400;
  534. font-size: 16px;
  535. color: #999999;
  536. margin-right: 30px;
  537. }
  538. span {
  539. font-family: Microsoft YaHei, Microsoft YaHei;
  540. font-weight: 400;
  541. font-size: 16px;
  542. color: #333333;
  543. }
  544. }
  545. }
  546. // .comment_empty {
  547. // height: 200px;
  548. // line-height: 200px;
  549. // text-align: center;
  550. // img {
  551. // width: 78px;
  552. // height: 78px;
  553. // vertical-align: -25px;
  554. // margin-right: 20px;
  555. // }
  556. // span {
  557. // font-family: Microsoft YaHei, Microsoft YaHei;
  558. // font-weight: bold;
  559. // font-size: 26px;
  560. // color: #CCCCCC;
  561. // }
  562. // }
  563. }
  564. }
  565. }
  566. //评论回复
  567. .message {
  568. width: 1200px;
  569. margin: 0 auto;
  570. padding: 0px 25px;
  571. box-sizing: border-box;
  572. height: 145px;
  573. line-height: 145px;
  574. background-color: #ecf5ee;
  575. .inner {
  576. .messageInput {
  577. width: 1000px;
  578. height: 67px;
  579. outline: none;
  580. border: 1px solid #E1E1E1;
  581. background-color: #fafafa;
  582. font-family: Microsoft YaHei, Microsoft YaHei;
  583. font-weight: 400;
  584. font-size: 18px;
  585. color: #666;
  586. padding: 0 20px;
  587. box-sizing: border-box;
  588. }
  589. .btn {
  590. width: 115px;
  591. height: 40px;
  592. border: none;
  593. background-color: #028e21;
  594. color: #fff;
  595. border-radius: 6px;
  596. margin-left: 36px;
  597. font-family: Microsoft YaHei, Microsoft YaHei;
  598. font-weight: 400;
  599. font-size: 16px;
  600. }
  601. }
  602. }
  603. //分页
  604. .paginationBox {
  605. display: flex;
  606. justify-content: center;
  607. margin-top: 60px;
  608. margin-bottom: 90px;
  609. // 鼠标移入后字体颜色
  610. :deep(.el-pagination:hover) {
  611. color: #139609;
  612. }
  613. :deep(.el-pagination.is-background .btn-next),
  614. :deep(.el-pagination.is-background .btn-prev) {
  615. width: 70px;
  616. height: 34px;
  617. margin: 0px 10px;
  618. border-radius: 4px;
  619. }
  620. :deep(.el-pagination.is-background .el-pager li) {
  621. margin: 0px 10px;
  622. width: 38px;
  623. height: 34px;
  624. border-radius: 4px;
  625. }
  626. :deep(.el-pagination.is-background .btn-next.is-active),
  627. :deep(.el-pagination.is-background .btn-prev.is-active),
  628. :deep(.el-pagination.is-background .el-pager li.is-active) {
  629. background-color: #028e21;
  630. color: #fff;
  631. }
  632. }
  633. </style>
  634. <style lang="less" scoped>
  635. @media screen and (min-width:801px){/*pc*/
  636. .pc_none{display:none;}
  637. }
  638. @media screen and (max-width:800px){/*ipad_phone*/
  639. .topicInfoBox .inner{width:92%;margin:0px auto;}
  640. .phone_h2{margin-top:11px;
  641. font-size:20px;line-height:22px;display:block;color:#333;
  642. }
  643. .phone_box_1{overflow:hidden;width:100%;padding-bottom:2px;border-bottom:solid 1px #E8E7E6;
  644. margin-top:8px;line-height:22px;min-height:22px;}
  645. .phone_tag_box{ height:22px;float:left;}
  646. .phone_tag_box_text {float:left;height:22px;line-height:22px; font-size:12px;margin-right:8px;
  647. color:#999;}
  648. .phone_time{height:22px;line-height:22px;color:#999;float:left;font-size:12px;float:left;padding-left:10px;position:relative;}
  649. .phone_time::before{content:'';position:absolute;left:0;top:50%;width:2px;height:2px;background:#999;}
  650. .phone_box_2{overflow:hidden;margin:10px 0;padding:4px 0; display:flex;}
  651. .phone_img_box{ height:38px;width:38px;border-radius:50%; margin-right:6px;}
  652. .phone_img_box img{display:block;height:100%;width:100%;border-radius:50%;}
  653. .phone_name{ display:block; line-height:38px;height:38px;color:#333;font-size:16px;flex: 1;
  654. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
  655. .phone_box_3{overflow:hidden;margin-top:10px; background:#ccc;background:rgba(204,204,204,.2);
  656. padding:10px 0px;
  657. display:flex; justify-content: space-between;
  658. }
  659. .phone_group_label{ height:33px;line-height:33px;color:#333;font-size:14px;margin-left:8px;float:left;}
  660. .phone_group_btn{float:right;height:28px;line-height:28px;background:rgba(2,142,33,.1);font-size:12px;
  661. color:#028e21;padding:0px 6px;text-align:center;border:0;
  662. margin:3px 8px 0 11vw;}
  663. .phone_group_name{ display:block;line-height:33px;height:33px;color:#333;font-size:14px;
  664. flex: 1;
  665. word-wrap: break-word;
  666. overflow-wrap: break-word;
  667. white-space: pre-wrap;
  668. word-break: break-all;
  669. }
  670. .topicInfoBox .inner .infoContent{width:100%;padding:0; margin-top:22px;}
  671. .topicInfoBox .inner .infoContent,.topicInfoBox .inner .infoContent *{font-size:16px;line-height:22px;}
  672. .topicInfoBox .inner .infoContent /deep/img{display:block;width:100%;}
  673. .topicInfoBox .inner .comment h3{height:50px;font-size:18px;line-height:50px;padding:0;margin-top:20px; }
  674. .ul_2{ margin-top:10px;}
  675. .li_2{
  676. overflow:hidden;
  677. width:100%;margin-bottom:10px;border:solid 1px #e7e7e7;box-sizing:border-box;
  678. .li_2_head_box{background:#fafafa;padding:10px 10px;width:100%;box-sizing:border-box;
  679. border-bottom:solid 1px #e7e7e7;}
  680. .li_2_img_box{width:33px;height:33px;overflow:hidden;margin-right:8px;border-radius:50%;float:left;}
  681. .li_2_img_box img{display:block;height:100%;width:100%; }
  682. .li_2_head{line-height:33px;height:33px;color:#333;font-size:16px;
  683. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  684. }
  685. .li_2_text{margin-top:8px;line-height:22px;color:#333;font-size:16px;overflow:hidden;
  686. box-sizing:border-box;padding:0px 10px;width:100%; word-wrap: break-word;
  687. overflow-wrap: break-word;
  688. white-space: pre-wrap;
  689. word-break: break-all;
  690. }
  691. .li_2_time{margin:8px 0px;line-height:22px;height:22px;color:#555;font-size:14px;padding:0px 10px;width:100%;}
  692. }
  693. .paginationBox{margin:30px auto;}
  694. .message{width:100%;text-align:center;height:auto;padding:33px 0px;line-height:normal;}
  695. .message .inner{width:92%; margin:0px auto;}
  696. .message .inner .messageInput{ width:100%;line-height:33px;height:33px;padding:0px 8px;font-size:14px;border-radius:6px;}
  697. .message .inner .btn{ line-height:33px;height:33px;width:auto;margin-left:2vw;padding:0px 6px;font-size:14px;display:none;}
  698. .ul_2_phone_none{display:none!important;}
  699. .phone_none{display:none;}
  700. }
  701. </style>